import fetch from 'common/src/utils/fetch';

/**
 * 新增
 */
function addCourseCharge(data) {
    return fetch({
        url: '/api/electionservice/rebuildCourse/addCourseCharge',
        method: 'post',
        data: data
    });
}

/**
 * 删除重修收费信息
 */
function deleteCourseCharge(data) {
    return fetch({
        url: '/api/electionservice/rebuildCourse/deleteCourseCharge',
        method: 'post',
        data: data
    });
}
/**
 * 修改重复收费信息
 */
function editCourseCharge(data) {
    return fetch({
        url: '/api/electionservice/rebuildCourse/editCourseCharge',
        method: 'post',
        data: data
    });
}

export default {
    findRetraingChargesUrl: 'api/electionservice/rebuildCourse/findCourseCharge',
    addCourseCharge: addCourseCharge,
    deleteCourseCharge: deleteCourseCharge,
    editCourseCharge: editCourseCharge
};
